/*
AppChan by Zixaphir (zixaphir@github)
OneeChan by Jordan Bates - seaweed !Ponyo.2wFE (seaweedchan@github)
Contributors: ferongr@github

This text is free. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See http://sam.zoy.org/wtfpl/COPYING for more details.

-------

Included artwork and images are unlicensed (non-free) and are used under
the following fair use rationale:

1.	The purpose of use is not commercial in nature in any conceivable way.
2.	The included images are already commonly available from various
non-commercial sources.
3.	Included images are low-resolution and are only a portion of the
original artwork.
4.	The use of included artwork should not affect the value of the original
work or limit the copyright holder's rights or ability to distribute
the original.
5.	The original intent of copyright of included images is difficult to
discern or unavailable.

In the event where usage of included images is found unwanted by the
original copyright holders, owned images will be removed from AppChan.
*/

/*
This style is intended to provide integration of 4chan x into 4chan and 
designed for Mozilla Firefox 10.x or higher, including the Aurora and 
Nightly channels.
*/
@-moz-document domain(boards.4chan.org), domain(rs.4chan.org) {
	body::after {
		position: fixed !important;
		/*[[background]]*/
		bottom: 279px;
		/* Note: The above position is overriden in all slideout QRs, best to use "Custom OneeChan Mascot" and edit the value in that */
		left: 0;
		-moz-transform: scaleX(-1);
		-webkit-transform: scaleX(-1);
		/*[[ChangeAlign]]*/
		right: 0;
		left: auto;
		-moz-transform: scaleX(1);
		-webkit-transform: scaleX(1);/**/
	}
	body {
		padding: 16px 0 0 !important;
		/*[[Margin]]*/
	}
	@media only screen and (max-width: 1100px) {
		body {
			padding-top: 31px !important;
		}
	}
	@media only screen and (max-width:689px) {
		body {
			padding-top: 46px !important;
		}
	}
	@media only screen and (max-width:553px) {
		body {
			padding-top: 61px !important;
		}
	}
	.globalMessage {
		bottom: auto !important;
		left: 2px !important;
		left: auto !important; /**/
		padding: 10px 5px 10px 5px !important;
		position: fixed !important;
		right: 2px !important; /*[[ChangeAlign]]*/
		right: auto !important;
		top: -1000px !important;
	}

	.globalMessage b { font-weight: 100 !important; }

	.globalMessage:hover::before {
		cursor: pointer;
		opacity: 1;
	}
}
@-moz-document domain('4chan.org') {
/* Cleanup */
	#absbot,
	#ft li.fill,
	#logo,
	#postForm .refreshBtn,
	#postForm > tbody > tr > td:first-child,
	#postForm > tbody > tr:nth-of-type(7),
	#postPassword + span,
	#qr.auto:not(:hover) #recaptcha_reload_btn,
	#recaptcha_switch_audio_btn,
	#recaptcha_whatsthis_btn,
	#settingsBox[style*="display: none;"],
	.board > hr:last-of-type,
	.closed,
	.deleteform br,
	.error:empty,
	.hidden_thread > .summary,
	.navLinksBot,
	.next,
	.pages td:nth-of-type(2n-1),
	.postingMode,
	.prev,
	.qrHeader,
	.replyContainer > .hide_reply_button.stub ~ .reply,
	.replymode,
	.rules,
	.sideArrows:not(.hide_reply_button),
	.stylechanger,
	.warnicon,
	.warning:empty,
	.yui-menu-shadow,
	a[href*="jlist"],
	body > .postingMode ~ #delform hr,
	body > br,
	body > hr,
	div.reply[hidden],
	form table tbody > tr:nth-of-type(2) td[align='right'],
	form[name="post"] h1,
	html body > span[style='left: 5px; position: absolute;']:nth-of-type(0),
	table[style="text-align:center;width:100%;height:300px;"],
	td[style^='padding: ']:not([style='padding: 10px 7px 7px 7px;']):not([style='padding: 10px 7px 7px;']),
	#imgControls label:first-of-type input,
	.autoPagerS,
	#options hr,
	.inline .report_button,
	.inline input,
	.entry:not(.focused) > .subMenu,
	#autohide,
	#qr.autohide select,
	#qr.autohide .close {
		display: none !important;
	}
	html, body, input, select, textarea, .boardTitle {
/* Defaults of all elements */
		font-family: /*[[Font]]*/ !important;
	}
	div.post > blockquote .prettyprint span {
		font-family: monospace !important;
	}
	#credits a,
	.abbr a,
	.backlink:not(.filtered),
	.chanlinkify,
	.file a,
	.pages,
	.pages a,
	.quotejs,
	.quotelink:not(.filtered),
	.quotelink:not(.filtered),
	.useremail,
	a.deadlink,
	a[href*="//dis"],
	a[href*=res],
	div.post > blockquote .chanlinkify.YTLT-link.YTLT-text,
	div.postContainer span.postNum > .replylink {
		text-decoration: /*[[UnderlineLinks]]*/ !important;
	}
	a {
		outline: 0 !important;
	}
	#qp div.post .postertrip,
	#qp div.post .subject,
	.capcode,
	.container::before,
	.dateTime,
	.file,
	.fileInfo,
	.fileText,
	.name,
	.postNum,
	.postertrip,
	.rules,
	.subject,
	.subjectm
	.summary,
	a,
	blockquote,
	div.post > blockquote .chanlinkify.YTLT-link.YTLT-text,
	div.reply,
	fieldset,
	textarea,
	time + span {
		font-size: /*[[FontSize]]*/ !important;
	}
	#boardNavDesktop,
	#boardNavDesktop a,
	#boardNavDesktopFoot a,
	#count,
	#imageType,
	#imageType option
	#imgControls,
	#navtopr a[href="javascript:;"],
	#postcount,
	#stats,
	#timer,
	#updater,
	.pages a,
	.pages strong,
	body:not([class]) a[href="javascript:void(0);"],
	input,
	label {
		font-size: 12px !important;
		text-decoration: none !important;
	}
	.filtered {
		text-decoration: line-through !important;
	}
/* YouTube Link Title */
	div.post > blockquote .chanlinkify.YTLT-link.YTLT-na {
		text-decoration: line-through !important;
	}
	div.post > blockquote .chanlinkify.YTLT-link.YTLT-text {
		font-style: normal !important;
	}
	/*[[CustomScrollbars]]*/scrollbarbutton { display: none !important; }
	scrollbar, scrollcorner { -moz-appearance: none !important; width: 10px !important; height: 10px !important; }
	scrollbar[orient='vertical'] { border-left: 0; }
	scrollbar[orient='horizontal'] { border-top: 0; }
	thumb { -moz-appearance: none !important; border: 1px solid; }/**/
/* Z-INDEXES */
	#options.reply.dialog {
		z-index: 999 !important;
	}
	#autoPagerBorderPaging,
	#boardNavDesktopFoot:hover,
	#ihover,
	#menu.reply.dialog,
	#navlinks,
	#overlay,
	#qp,
	#updater:hover,
	.deleteform:hover,
	.exPopup,
	html .subMenu {
		z-index: 99 !important;
	}
	#boardNavDesktop,
	#qr,
	body > form #imgControls {
		z-index: 98 !important;
	}
	.fileText ~ a > img + img {
		z-index: 96 !important;
	}
	#boardNavMobile,
	#imageType,
	#imgControls label:first-of-type,
	#imgControls label:first-of-type::after,
	#stats,
	#updater {
		z-index: 10 !important;
	}
	#settingsBox {
		z-index: 9 !important;
	}
	.fileThumb,
	.deleteform:hover input[type='checkbox'] {
		z-index: 7 !important;
	}
	#boardNavDesktopFoot::after,
	#navtopr,
	.deleteform::before,
	.qrMessage,
	body > a[style='cursor: pointer; float: right;'],
	div.navLinks a:first-of-type::after {
		z-index: 6 !important;
	}
	#stats,
	#watcher,
	#watcher::before {
		z-index: 4 !important;
	}
	#postForm label::after,
	#postForm label input,
	body::after {
		z-index: 3 !important;
	}
	#recaptcha_reload_btn,
	.boardBanner,
	.globalMessage::before,
	.replyhider a {
		z-index: 1;
	}
	#postForm td,
	div.reply,
	div.reply.highlight {
		z-index: 0;
	}
	#settingsWindowLink::after,
	body:not([class]) a[href="javascript:void(0);"]::after {
		z-index: -1 !important;
	}
/* ICON POSITIONS */
/* 4chan X Options / 4chan Options */
	#settingsWindowLink::after, body:not([class]) a[href="javascript:void(0);"]::after {
		content: url('');
		position: fixed !important;
		left: 230px !important;
		right: auto !important;
	/*[[ChangeAlign]]*/
		left: auto !important;
		right: 17px !important;/**/
		opacity: 0.3;
	}
/* 4sight */
	body > a[style='cursor: pointer; float: right;']::after {
		content: url('');
		font-size: 12px !important;
		position: fixed !important;
		left: 38px;
		/*[[ChangeAlign]]*/
		right: 0px !important;
		left: auto !important;/**/
		opacity: 0.3;
	}
/* Back */
	div.navLinks a:first-of-type::after {
		content: url('');
		position: fixed !important;
		left: 2px !important;
		right: auto !important;
		/*[[ChangeAlign]]*/
		left: auto !important;
		right: 230px !important;/**/
		cursor: pointer !important;
		-moz-transform: scale(.8);
		-webkit-transform: scale(.8);
		opacity: 0.4;
		bottom: 1px !important;
		top: auto !important;
	}
/* Delete Form */
	.deleteform::before {
		content: url('') !important;
		visibility: visible !important;
		position: fixed !important;
		left: 20px !important;
		right: auto !important;
		/*[[ChangeAlign]]*/
		right: 210px !important;
		left: auto !important;/**/
		-moz-transform: scale(.9);
		-webkit-transform: scale(.9);
		opacity: 0.4;
		top: auto !important;
		bottom: 2px !important;
	}
/* Expand Images */
	#imgControls label:first-of-type::after {
		content: url('');
		opacity: 0.2 !important;
		position: relative !important;
		top: 4px !important;
	}
/* Global Message */
	.globalMessage::before {
		content: url('');
		height: 9px !important;
		position: fixed !important;
		left: 165px !important;
		right: auto !important;
		/*[[ChangeAlign]]*/
		right: 70px !important;
		left: auto !important;/**/
		min-width: 30px !important;
		max-width: 30px !important;
		padding-bottom: 5px !important;
		opacity: 0.4;
	}
/* Navigation / Bot */
	#boardNavDesktopFoot::after {
		border: none !important;
		position: fixed !important;
		right: auto !important;
		left: 212px !important;
		/*[[ChangeAlign]]*/
		left: auto !important;
		right: 37px !important;/**/
		content: url('');
		opacity: 0.4;
	}
/* Watcher */
	#watcher::before {
		content: url('');
		height: 9px !important;
		font-size: 12px !important;
		position: fixed !important;
		left: 193px !important;
		right: auto !important;
		/*[[ChangeAlign]]*/
		right: 42px !important;
		left: auto !important;/**/
		min-width: 30px !important;
		max-width: 30px !important;
		opacity: 0.4;
	}
/* END OF ICON POSITIONS */
	a.yuimenuitemlabel:hover,
	.sideArrows a:hover {
		background-color: transparent !important;
	}
	#settingsBox {
		position: fixed !important;
		left: 5px !important;
		/*[[ChangeAlign]]*/
		left: auto !important;
		right: 5px !important;/**/
		width: 234px !important;
	}
	#boardNavMobile {
		background: none !important;
		border: none !important;
		font-size: 12px !important;
		padding: 0px !important;
		padding-top: 1px !important;
		padding-left: 2px !important;
		width: 320px !important;
		pointer-events: none;
	}
	.pageJump {
		position: fixed !important;
		top: -1000px !important;
		pointer-events: all;
	}
	.extButton img {
		margin-top: -4px !important;
	}
	#boardNavMobile select {
		font-size: 11px !important;
		pointer-events: all;
	}
	.qrMessage {
		position: fixed !important;
		left: 3px !important;
		/*[[ChangeAlign]]*/
		left: auto !important;
		right: 3px !important;/**/
		bottom: 250px !important;
		font-size: 11px !important;
		font-weight: 100 !important;
		background: none !important;
		border: none !important;
		width: 248px !important;
	}
	.boardBanner {
		position: fixed !important;
		left: 2px !important;
		right: auto !important;
		/*[[ChangeAlign]]*/
		left: auto !important;
		right: 2px !important;/**/
		top: 19px !important;
		width: 248px !important;
		margin: 0 !important;
		margin-top: -6px !important;
	 }
	.boardBanner img {
		width: 248px !important;
		height: 83px !important;
	}
	/*[[boardlogo]]*/
	.boardTitle {
		font-size: 30px !important;
		font-weight: 400 !important;
	}
	.boardSubtitle {
		font-size: 13px !important;

	}
/* 4watch */
	body > span > div {
		position: fixed !important;
		top: auto !important;
		bottom: 440px !important;
		left: 0 !important;
		right: auto !important;
		/*[[ChangeAlign]]*/
		left: auto !important;
		right: 0 !important;/**/
		width: 248px;
	}
	hr {
		padding: 0 !important;
		height: 0;
		width: 100% !important;
		clear: both;
		border: none !important;
	}
/* Front Page */
	.bd,
	.bd ul,
	img,
	.pages,
	.pages *,
	#qr,
	div[id^='qr'],
	table.reply[style^='clear: both'],
	.boxcontent > hr,
	h3 {
		border: none !important;
	}
	.boxcontent input {
		height: 18px !important;
		vertical-align: bottom;
		margin-right: 1px !important;
	}
	a.yuimenuitemlabel {
		padding: 0 20px !important;
	}
/* Navigation */
	#boardNavDesktop, /* Top Navigation */
	.pages /* Bottom Navigation */ {
		text-align: center !important;
		font-size: 0 !important;
		color: transparent !important;
		width: auto !important;
	}
	#boardNavDesktop{
		/* cripple the positioning of the top navigation */
		position: static !important;
		width: auto !important;
		padding-right: 0px !important;
		margin-right: 0px !important;
	}
	/*[[StickyNavigation]]*/
	#boardNavDesktopFoot:hover::after {
		opacity: 1;
		cursor: pointer;
	}
	#boardNavDesktopFoot {
		visibility: visible !important;
		position: fixed !important;
		position: fixed !important;
		top: -1000px !important;
		right: auto !important;
		left: 2px !important;
		/*[[ChangeAlign]]*/
		right: 2px !important;
		left: auto !important;/**/
		bottom: auto !important;
		width: 226px !important;
		color: transparent !important;
		padding: 3px 10px 35px 10px !important;
		border-width: 0 1px 1px 0 !important;
		word-spacing: -2px !important;
		height: 50px !important;
		text-align: center !important;
		word-spacing: -3px !important;
	}
	.fileThumb {
		position: relative !important;
	}
	.pages td:nth-of-type(1) {
		font-size: 75% !important;
		text-transform: uppercase;
	}
	.pages td {
		color: transparent !important;
	}
	#boardNavDesktop a,
	.pages a,
	.pages strong,
	.pages input {
		-moz-appearance: none;
		-webkit-appearance: none;
		display: inline-block;
		font-size: 12px !important;
		text-align: center;
		border: none !important;
		text-align: center;
		margin: 0 1px 0 2px;
	}
	.pages {
		word-spacing: 10px !important;
	}
/* moot's announcements */
	h3, h2, h1, .globalMessage {
		font-size: 12px !important;
	}
	h3, .globalMessage {
		font-weight: 200 !important;
	}
	.pages input {
		margin-bottom: 2px !important;
	}
	.pages strong,
	.pages input,
	a,
	.new {
		-moz-transition: background-color .1s linear;
		-webkit-transition: background-color .1s linear;
	}
/* Post Form */
/* Override OS-specific UI */
	#ft li,
	#ft ul,
	#options input:not([type='checkbox']):not([type='radio']),
	#updater input:not([type='checkbox']):not([type='radio']),
	.box-outer,
	.boxbar,
	.deleteform input[value=Delete],
	.recaptcha_image_cell > center > #recaptcha_image,
	[name='recaptcha_response_field'],
	.top-box,
	h2,
	input:not([type='checkbox']):not([type='radio']),
	input:not([type='radio']),
	input[type='file'] > input[type='button'],
	input[type='submit'],
	select,
	textarea {
		-moz-appearance: none;
	}
	#postForm > table > tbody > tr > td {
		padding: 0 !important;
	}
/* Unfuxor the Captcha layout */
	#recaptcha_widget_div tr, #recaptcha_widget_div td, #recaptcha_widget_div center, #recaptcha_widget_div #recaptcha_table, #recaptcha_widget_div #recaptcha_area, #recaptcha_widget_div #recaptcha_image {
		margin: 0 !important;
		padding: 0 !important;
		height: auto !important;
	}
	#recaptcha_table #recaptcha_image {
		border: none !important;
	}
	#postForm #recaptcha_widget_div {
		height: 69px;
	}
/* Collapse the postarea table for better control over the height and width */
	#postForm {
		border-collapse: collapse;
	}
/* Formatting for all postarea elements */
	.recaptchatable #recaptcha_response_field,
	.deleteform input[type='password'],
	input,
	input.field,
	input[type='submit'],
	input[type='file'] > input[type='button'],
	input[type='file'] > input[type='text'],
	textarea {
		border-width: 1px !important;
		border-style: solid !important;
		padding: 1px !important;
		height: 20px;
	}
	#postForm input:not([type='checkbox']):not([type='radio']),
	#qr .move .field,
	#postForm textarea,
	#postForm #recaptcha_widget_div input,
	#postForm #recaptcha_widget_div #recaptcha_image img,
	#qr input[type='submit'],
	input[type='file'],
	#qr textarea,
	#qr .field {
		margin: 1px 0 0 !important;
		vertical-align: bottom;
	}
/* Width and height of all postarea elements (excluding some captcha elements) */
	#recaptcha_response_field,
	#postForm textarea,
	textarea.field,
	#postForm input,
	#postForm .field,
	#recaptcha_widget_div input,
	#qr .move .field,
	#qr .field[type='password'],
	.ys_playerContainer audio,
	#qr input[title="Verification"],
	#postForm > table,
	#recaptcha_image,
	#qr div,
	input[type='file'] {
		width: 248px !important;
	}
/* File and Subject inputs */
	#qr input[type='file'] > input[type='text'],
	#postForm input[type='file'] > input[type='text'] {
		width: 185px !important;
	}
	input[type='file'] > input[type='button'],
	#postForm input[type='file'] > input[type='button'],
	#qr input[type='file'] > input[type='text'],
	#postForm input[type='file'] > input[type='text'] {
		margin-top: 0 !important;
	}
/* Buttons */
	input[type='submit'], /* Any lingering buttons */
	input[value="Report"],
	input[type='file'] > input[type='button'],
	#postForm input[type='file'] > input[type='button'] /* Browse Button (Fx*) */ {
		cursor: default !important;
		height: 20px !important;
		padding: 0 !important;
		font-size: 12px !important;
	}
	#postForm [type='submit'],
	#qr input[type='submit'] {
		width: 100% !important;
		float: left !important;
		clear: both !important;
	}
	#qr input[type='file'] > input[type='button'],
	#postForm input[type='file'] > input[type='button'] {
		width: 62px !important;
		margin-right: 1px !important;
	}
/* Force the file input's CONTAINER to behave as if it were non-existent, e.g. occupies no more space than its contents */
	#qr input[type='file'],
	#postForm input[type='file'] {
		height: auto !important;
		border: none 0px !important;
		padding: 0 !important;
		float: left !important;
	}
/* Positioning of various postarea checkboxes */
	#postForm label {
		position: absolute;
	}
	#postForm input[name='sub'] + input + label {
		font-size: 12px !important;
		top: auto !important;
		bottom: 0px;
		right: 20px;
		vertical-align: bottom;
	}
	#qr input[name='email'] + label {
		bottom: 2px;
		right: 4px;
	}
	#qr input[name='sub'] + input + label {
		font-size: 12px !important;
		top: auto !important;
		right: 70px;
		margin-top: 1px;
	}
/* Image Hover and Image Expansion */
	#ihover {
		max-width:85% !important;
		max-height:85% !important;
	}
	#qp {
		min-width: 500px !important;
	}
	.fileText ~ a > img + img {
		position: relative !important;
		top: 0px !important;
	}
	#imageType {
		border: none !important;
		width: 90px !important;
		position: relative !important;
		bottom: 1px !important;
		background: none !important;
	}
/* #qr dimensions */
	#qr {
		height: auto !important;
	}
	#postForm td {
		padding: 0 !important;
	}
	#recaptcha_reload_btn {
		position: absolute !important;
		height: 0 !important;
		width: 0 !important;
		padding: 12px 0 0 12px !important;
		background: url('') no-repeat !important;
		overflow: hidden;
	}
	#postForm #recaptcha_reload_btn {
		bottom: 62px !important;
		right: 2px !important;
	}
	#postForm #recaptcha_reload_btn,
	.refreshBtn {
		bottom: 70px !important;
		right: 5px !important;
	}
	.top-box .menubutton,
	.boardTitle {
		background-image: none !important;
	}
/* Post form Checkboxes */
	#postForm input[name='email'] + label {
		position: absolute;
		top: auto;
		bottom: 2px;
		right: 170px;
		vertical-align: bottom;
	}
	div#postForm > form td:nth-of-type(3) > label input,
	#delform > div:not(.thread) input,
	.deleteform input[type='checkbox'] {
		vertical-align: middle;
	}
	#postForm td:nth-of-type(3) > label input,
	#qr label input,
	.boxcontent input,
	.boxcontent textarea {
		-moz-appearance: none;
		-webkit-appearance: none;
		border: 0 !important;
	}
	input[type=checkbox],
	.reply input[type=checkbox],
	#options input[type=checkbox] {
		-moz-appearance: none;
		-webkit-appearance: none;
		width: 12px !important;
		height: 12px !important;
		cursor: pointer !important;
	}
	.postingMode ~ #delform .opContainer input {
		position: relative !important;
		bottom: 2px !important;
	}
/* Posts */
	body > .postingMode ~ #delform br[clear='left'],
	#delform center {
		position: fixed;
		bottom: -500px;
	}
	/*[[BetweenReply]]*/
	.deleteform {
		border-spacing: 0 1px !important;
	}
	#delform .fileText + br + a[target='_blank'] img,
	#qp div.post .fileText + br + a[target='_blank'] img	{
		border: 0;
		float: left;
		margin: 5px 20px 15px !important;
	}
	#delform .fileText + br + a[target='_blank'] img + img {
		margin: 0 0 25px !important;
	}
	.fileText {
		margin-top: 17px !important;
	}
	/*[[expandfile]]*/
	.fileText span:not([class])::after {
		font-size: 13px !important;
	}
	.fileText span:not([class])::after {
		font-size: /*[[FontSize]]*/ !important;
	}
	#updater:hover {
		border: 0 !important;
	}
/* Fixes text spoilers */
	.spoiler:not(:hover),
	.spoiler:not(:hover) .quote,
	.spoiler:not(:hover) a {
		color: #000 !important;
		text-shadow: none !important;
	}
/* Remove default 'inherit' background declaration */
	.span.subject,
	.subject,
	.name,
	.postertrip {
		background: transparent !important;
	}
	.name {
		font-weight: 700 !important;
	}
/* Addons and such */
	body > div[style='width: 100%;'] {
		margin-top: 34px;
	}
	#copyright,
	#boardNavDesktop a,
	#qr td,
	#qr tr[height='73']:nth-of-type(2),
	.recaptcha_input_area,
	.menubutton a,
	.pages td,
	.recaptchatable td.recaptcha_image_cell,
	td[style='padding-left: 7px;'],
	div[id^='qr'] tr[height='73']:nth-of-type(2) {
		padding: 0 !important;
	}
	#navtopr {
		position: fixed;
		left: 150px !important;
		right: auto !important;
		/*[[ChangeAlign]]*/
		right: 60px !important;
		left: auto !important;/**/
		top: -100px !important;
		bottom: auto !important;
		font-size: 0 !important;
		color: transparent !important;
	}
	#navtopr a[href="javascript:;"]:hover::after, body:not([class]) a[href="javascript:void(0);"]:hover::after {
		opacity: 1;
	}
/* Expand Images div */
	#imgControls input {
		width: 10px !important;
		height: 10px !important;
		margin: 4px 1px !important;
		vertical-align: top !important;
	}
	#imgControls label {
		font-size: 0 !important;
		color: transparent !important;
	}
	#imgControls label:first-of-type {
		position: fixed;
		left: 7px !important;
		right: auto !important;
		/*[[ChangeAlign]]*/
		left: auto !important;
		right: 232px !important;/**/
		top: 0px !important;
		bottom: auto !important;
	}
	#imgControls label:hover:first-of-type::after { opacity: 1 !important; }
	#imageType {
	 position: fixed !important;
		left: 20px !important;
		right: auto !important;
		/*[[ChangeAlign]]*/
		left: auto !important;
		right: 140px !important;/**/
		top: 1px !important;
		bottom: auto !important;
	}
	#imgControls label:nth-of-type(2)::after {
		font-size: 12px !important;
		content: 'Preload?';
	}

	#imgControls select { float: right !important; }
/* Hide UI of the select element */
	select > button,
	select > input {
		opacity: 0;
	}
	#imgControls select > option { font-size: 80% !important; }
/* End of Expand Images div */
/* Reply Previews */
	#qp div.post /* 4chan x Quote Preview */ {
		max-width: 70%;
		visibility: visible;
	}
	#qp div.op { display: table !important; }
	#qp div.post { padding: 2px 6px !important; }
	#qp div.post img {
		max-width: 300px !important;
		height: auto !important;
	}
	.deleteform {
		position: fixed !important;
		top: -1000px !important;
	}
	.deleteform	{
		position: fixed !important;
		top: -1000px !important;
		right: auto !important;
		left: 2px !important;
		/*[[ChangeAlign]]*/
		right: 2px !important;
		left: auto !important;/**/
		bottom: auto !important;
		width: 248px !important;
		margin: 0px !important;
		padding: 0px !important;
		font-size: 0px !important;
	}
	.deleteform:hover::before {
		opacity: 1;
		cursor: pointer;
		bottom: -30px !important;
		visibility: hidden !important;
	}
	.deleteform:hover {
		position: fixed !important;
		left: 3px !important;
		/*[[ChangeAlign]]*/
		left: auto !important;
		right: 3px !important;/**/
	}
	.deleteform {
		height: 18px !important;
		width: 250px !important;
	}
	.deleteform input[value="Delete"], .deleteform input[value="Report"] { float: left !important; }
	.deleteform,
	.deleteform { width: 246px !important; }
	.deleteform:hover input[name="pwd"] {
		position: fixed !important;
		left: 105px !important;
		/*[[ChangeAlign]]*/
		left: auto !important;
		right: 3px !important;/**/
		width: 146px !important;
		height: 20px !important;
		text-align: right !important;
	}
	div.deleteform input[type="password"] { width: 144px !important; }
	.deleteform:hover input[type='checkbox'] {
		position: fixed !important;
		left: 105px !important;
		/*[[ChangeAlign]]*/
		left: auto !important;
		right: 130px !important;/**/
	}
	.deleteform:hover::after {
		visibility: visible !important;
		position: fixed !important;
		left: 120px !important;
		/*[[ChangeAlign]]*/
		left: auto !important;
		right: 80px !important;/**/
		font-size: 12px !important;
		content: 'File Only';
		width: 50px !important;
	}
	.deleteform .field {
		width: 138px;
		margin-right: 1px !important;
	}
	div.navLinks {
		font-size: 0 !important;
		visibility: hidden;
	}
	div.navLinks a {
		position: fixed !important;
		top: auto;
		left: 2px !important;
		right: auto !important;
		/*[[ChangeAlign]]*/
		left: auto !important;
		right: -192px !important;/**/
		bottom: -1000px;
		visibility: visible !important;
		height: 14px !important;
		width: 58px !important;
		margin: 0 !important;
		padding: 0 !important;
		font-size: 9px !important;
		text-transform: uppercase;
		vertical-align: bottom !important;
		padding-top: 5px !important;
		border-radius: 0 !important;
		text-align: center;
	}
	div.navLinks a:first-of-type:hover::after {
		opacity: 1;
	}
/* File Clearer support */
	.clearbutton {
		position: fixed !important;
		bottom: 45px !important;
		right: 55px !important;
	}
/* AutoPager */
	#autoPagerBorderPaging {
		position: fixed !important;
		right: 300px !important;
		bottom: 0px !important;
	}
/* 4chan x options */
	#options ul { margin: 0 !important; }
	#options ul > li { padding: 0 !important; }
	#options.reply.dialog, #options .dialog { width: 700px !important; }
	#options ul {
		margin-bottom: 5px !important;
		padding-bottom: 7px !important;
	}
	#options ul:first-of-type { padding-top: 5px !important; }
	#content textarea { width: 99% !important; }
/* End of 4chan x options */
	#stats {
		padding: 3px 0;
		border: 0 !important;
		border-radius: 0;
		font-size: 12px !important;
	}
	#stats {
		position: fixed !important;
		top: -1px !important;
		right: auto !important;
		left: 105px !important;
		/*[[ChangeAlign]]*/
		right: 45px !important;
		left: auto !important;/**/
		width: 96px !important;
		text-align: right !important;
		bottom: auto !important;
		cursor: default !important;
	}
	#updater {
		right: auto !important;
		left: 175px !important;
		/*[[ChangeAlign]]*/
		right: 2px !important;
		left: auto !important;/**/
		top: -4px !important;
		bottom: auto !important;
		width: 58px !important;
		border: 0 !important;
		font-size: 12px;
		overflow: hidden;
		padding-bottom: 2px;
	}
	#updater { background: none !important; }
	#count.new { background-color: transparent !important; }
	#updater:hover {
		width: 150px !important;
		left: 98px !important;
		/*[[ChangeAlign]]*/
		right: 2px !important;
		left: auto !important;/**/
	}
	#updater #count:not(.new) {
		font-size: 0 !important;
		color: transparent !important;
	}
	#updater #count:not(.new)::after {
		font-size: 12px !important;
		content: '+0';
	}
	#watcher > div {
		max-width: 236px !important;
		width: 236px !important;
		overflow: hidden !important;
	}
	#watcher .move {
		font-size: 0px !important;
		height: 0px !important;
	}
	.opContainer .favicon {
		position: relative !important;
		top: 2px !important;
	}
	#watcher { padding-left: 0px !important; }
	#watcher:hover::before {
		opacity: 1;
		cursor: pointer;
	}
	#qp div.post,
	div.reply,
	div.reply.highlight,
	#options { border: 0 !important; }
	#watcher {
		border: 0 !important;
		padding: 1px 0;
		border-radius: 0;
	}
	#watcher .move {
		padding: 2px 3px !important;
		margin-bottom: 2px !important;
		text-decoration: none !important;
	}
	#watcher .move,
	#updater .move,
	#options .move,
	#stats .move { cursor: default !important; }
/* 4sight */
	body > a[style='cursor: pointer; float: right;'] {
		position: fixed;
		top:-119px;
		left: 60px;
		/*[[ChangeAlign]]*/
		right: 60px !important;
		left: auto !important;/**/
		font-size: 0px !important;
	}
	body > a[style='cursor: pointer; float: right;']:hover::after { opacity: 1; }
	body > a[style='cursor: pointer; float: right;'] ~ div[style^='width: 100%;'] {
		display: block;
		position: fixed;
		top: 17px;
		bottom: 17px;
		left: 252px;
		right: 4px;
		/*[[ChangeAlign]]*/
		left: 4px;
		right: 252px;/**/
		width: auto !important;
		margin: 0 !important;
	}
	body > a[style='cursor: pointer; float: right;'] ~ div[style^='width: 100%;'] > table {
		height: 100% !important;
		vertical-align: top !important;
	}
	body > a[style='cursor: pointer; float: right;'] ~ div[style^='width: 100%;']{
		height: 95% !important;
		margin-top: 5px !important;
		margin-bottom: 5px !important;
	}
	#fs_status {
		width: auto !important;
		height: 100% !important;
		background: none !important;
		padding: 10px !important;
		overflow: scroll !important;
	}
	[alt="sticky"] + a::before { content: "Sticky | "; }
	[alt="closed"] + a::before { content: "Closed | "; }
	[alt="closed"] + a { text-decoration: line-through !important; }
/* Youtube Link Title */
	.chanlinkify.YTLT-link.YTLT-text {
		font-family: monospace !important;
		font-size: 11px !important;
	}
	.prettyprint {
		background-color: rgba(255,255,255,.1) !important;
		white-space: pre-wrap !important;
		border: 1px solid rgba(0,0,0,0.5) !important;
		border-radius: 2px !important;
		font-size: 11px !important;
	}
	span.pun { color: #8ba446 !important; }
	span.com { color: #F42424 !important; }
	span.str { color: #15C030 !important; }
	span.kwd { color: #2A61E4 !important; }
	span.typ { color: #964ACC !important; }
	span.lit { color: #2AA0A0 !important; }
	.fileText+br+a[target='_blank']:hover { background: none !important; }
	.inline, #qp {
		background-color: transparent !important;
		border: none !important;
	}
/* Adblock Minus */
	img[src^='//static.4chan.org/support/'] { display: none; }
	input[type='submit']:hover, input[type='file'] > input[type='button']:hover { cursor: pointer !important; }
/* 4chan Sounds */
	.ys_playerContainer.reply {
		position: fixed !important;
		bottom: 252px !important;
		margin: 0 !important;
		right: 3px !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
		padding-top: 0 !important;
	}
	#qr input:focus:-moz-placeholder,
	#qr textarea:focus:-moz-placeholder { color: transparent !important; }
	#qr input:focus:-webkit-placeholder,
	#qr textarea:focus:-webkit-placeholder { color: transparent !important; }
	img[md5] { image-rendering: optimizeSpeed !important; }
	input,
	textarea { text-rendering: geometricPrecision !important; }
	#boardNavDesktop .current {
		font-weight: bold !important;
		font-size: 13px !important;
	}
	#postForm > tbody > tr:nth-last-of-type(2) td,
	#postForm input {
		height: 20px !important;
	}
	#postForm textarea,
	textarea.field {
		height: 88px !important;
	}
	#postPassword {
		position: relative !important;
		bottom: 3px !important;
	}
	#recaptcha_table, #recaptcha_table tbody, #recaptcha tbody tr {
		display: block !important;
		visibility: visible !important;
	}
	#postPassword {
		margin-bottom: 0px !important;
		margin-top: 0px !important;
	}
	#postForm label {
		position: absolute !important;
		bottom: 0px !important;
		font-size: 0px !important;
	}
	#postForm > tbody > tr:nth-of-type(3) > td { font-size: 0px !important; }
	#postForm label input {
		position: absolute !important;
		bottom: 20px !important;
		right: 150px !important;
		max-height: 12px !important;
		max-width: 12px !important;
	}
	#postForm label::after {
		font-size: 12px !important;
		content: "Spoiler?" !important;
		position: absolute !important;
		bottom: 7px !important;
		right: 90px !important;
	}
	.postContainer.inline {
		border: none !important;
		background: none !important;
		padding-bottom: 2px !important;
	}
	div.pagelist {
		background: none !important;
		border: none !important;
	}
	a.forwardlink { border: none !important; }
	.deleteform { border-bottom: 2px solid transparent !important; }
	.exif td { color: #999 !important; }
	.callToAction.callToAction-big {
		font-size: 18px !important;
		color: white !important;
	}
	body > table[cellpadding="30"] h1, body > table[cellpadding="30"] h3 { position: static !important; }
	.focused.entry { background-color: transparent !important; }
	#menu.reply.dialog, html .subMenu { padding: 0px !important; }
	#charCount {
		background: none !important;
		position: absolute !important;
		right: 2px !important;
		top: 112px !important;
		color: black !important;
		font-size: 10px !important;
	}
	#charCount.warning {
		color: red !important;
		position: absolute !important;
		right: 2px !important;
		top: 110px !important;
	}
	#postForm input[type="password"] {
		text-align: right !important;
		border: none !important;
	}
	textarea {
		resize: none !important;
		font-size: /*[[FontSize]]*/ !important;
	}
/* .move contains the name field of the #qr. Here we're making it behave like no more than a container. We also hide the "Quick Reply" text with a hack. */
	#qr .move {
		color: transparent !important;
		font-size: 0 !important;
		height: 20px !important;
		cursor: default !important;
	}
/* Position and Dimensions of the #qr */
	#qr, #postForm {
		overflow: visible !important;
		position: fixed;
		top: auto !important;
		bottom: 20px !important;
		width: 248px !important;
		margin: 0 !important;
		padding: 0 !important;
		z-index: 5 !important;
	}
/* Width and height of all #qr elements (excluding some captcha elements) */
	#qr textarea {
		min-height: 0 !important;
	}
	body > .postingMode ~ #delform .reply a > img[src^="//images"] {
		position: relative !important;
		/*[[ChangeAlign]]*/
		z-index: 96 !important;/**/
	}
	#postForm #recaptcha_widget_div img,
	#qr img {
		height: 47px !important;
		width: 248px !important;
	}
	#dump {
		background: none !important;
		border: none !important;
		width: 20px !important;
		height: 17px !important;
		margin: 0 !important;
		position: absolute !important;
		bottom: -14px !important;
		right: 0px !important;
		font-size: 14px !important;
		vertical-align: middle !important;
		outline: none !important;
	}
	#dump:hover { background: none !important; }
	#qr .move { height: 0px !important; }
	#qr select {
		position: absolute !important;
		bottom: -18px !important;
		right: 65px !important;
		background: none !important;
		border: none !important;
		font-size: 12px !important;
		width: 128px !important;
	}
	#qr > form > label {
		font-size: 0px !important;
		color: transparent !important;
	}
	#qr > form > label::after {
		content: "Spoiler?";
		font-size: 12px !important;
	}
	.dump > form > label {
		display: block !important;
		visibility: hidden !important;
	}
	#qr [type="file"] input[type='text'] {
		width: 104px !important;
		position: relative !important;
		right: 1px !important;
	}
	#spoilerLabel {
		position: absolute !important;
		bottom: -20px !important;
		right: 20px !important;
	}
	#spoilerLabel input {
		position: relative !important;
		top: 1px !important;
		left: 2px !important;
	}
	#qr .warning {
		position: absolute !important;
		bottom: -18px !important;
		left: 1px !important;
		/*[[ChangeAlign]]*/
		left: auto !important;
		right: 1px !important;/**/
		height: 20px !important;
		text-align: right !important;
		vertical-align: middle !important;
		padding-top: 2px !important;
		max-height: 16px !important;
	}
	input[type='file'] > input[type='button'] {
		float: left !important;
	}
	input[type='file'] input[type='text'] {
		float: right !important;
		margin-right: -1px;
	}
	.deleteform:hover {
		top: auto !important;
		bottom: 0px !important;
	}
	.deleteform:hover input[type='checkbox'],
	.deleteform:hover::after {
		top: auto !important;
		bottom: 2px !important;
	}
	.deleteform:hover input[name="pwd"] {
		top: auto !important;
		bottom: 0px !important;
	}
	input[title="Verification"], .captchaimg img { margin-top: 1px !important; }
	#qr.autohide .move {
		display: inline-block !important;
		font-size: 12px !important;
		visibility: visible !important;
		height: 20px !important;
		bottom: 20px !important;
		text-align: center !important;
		overflow: visible !important;
		padding-top: 3px !important;
		-moz-transition: opacity .3s ease-in-out 3s;
		-webkit-transition: opacity .3s ease-in-out 3s;
		min-width: 0 !important;
		width: 248px !important;
	}
	#qr.autohide:not(:hover) .move {
		position: fixed !important;
		bottom: 0px !important;
	}
	#qr.autohide {
		padding-bottom: 0px !important;
		bottom: -250px!important;
		-moz-transition: bottom .3s ease-in-out 3s, top .3s ease-in-out 3s !important;
		-webkit-transition: bottom .3s ease-in-out 3s, top .3s ease-in-out 3s !important;
	}
	#qr.autohide:hover {
		padding-bottom: 16px !important;
		-moz-transition: bottom .3s linear, top .3s linear !important;
		-webkit-transition: bottom .3s linear, top .3s linear !important;
		bottom: 1px !important;
	}
	#qr.autohide:hover .move { padding-bottom: 5px !important; }
	#qr.autohide:hover .move input { display: inline-block !important; }
	#qr.autohide:hover select { display: inline-block !important; }
	#qr.autohide:hover .move { padding-top: 1px !important; }
	#qr textarea.field,
	#qr div { min-width: 0 !important; }
/*[[sageidentifier]]*/
/*[[nokosega]]*/
/*[[TextareaExpand]]*/
/*[[FieldStyle]]*/
/*[[QuickReply]]*/
/*[[watcherslideout]]*/
/*[[PagesPosition]]*/
/*[[ReplyMargin]]*/
/*[[redtext]]*/
/*[[RoundedCorners]]*/
/*[[RevealSpoilers]]*/
/*[[FilteredBacklinks]]*/
/*[[CaptchaOpacity]]*/
/*[[SlideoutNav]]*/
/*[[ReplyWidth]]*/
/*[[HideTrip]]*/
/*[[ColorScheme]]*/
	}

@-moz-document domain(rs.4chan.org) {
/* /rs/ hacks */
	table.pages td:nth-of-type(2n-1) { display: table-cell !important; }
	#footer > center, #footer > center * { visibility: visible !important; }
	#postForm { margin-top: 20px !important;}
	#postForm form:first-child,
	body table table { width: 100% !important; }
	#postForm tr:nth-of-type(1) .postblock b::after { content: ''; }
	#postForm tr:nth-of-type(2) .postblock b::after { content: ''; }
	#postForm {
		display: block !important;
		position: static !important;
	}
	a[href^="http://www.megaupload"] + b { display: none !important; }
	#postForm, span { font-size: 12px !important; }
	input[value="Go"] {
		position: relative !important;
		bottom: 2px !important;
		height: 20px !important;
	}
	input[value="Submit"] { height: 22px !important; }
	table { table-layout: auto !important; }
}
@-moz-document url-prefix('http://www.4chan.org/'), url-prefix('https://www.4chan.org/') {
	html { display: table !important; }
	body {
		display: table-cell !important;
		vertical-align: middle !important;
	}
	html,
	body {
		height: 100% !important;
		width: 100% !important;
	}
	#bd {
		width: 630px !important;
		margin: auto !important;
	}
	#announce { width: 630px !important; }
	#doc,
	#ft ul {
		min-width: 0 !important;
		max-width: 1280px !important;
		width: auto !important;
	}
	#ft ul { text-align: center !important; }
	#ft li {
		float: none !important;
		display: inline-block !important;
		margin: 0 !important;
		padding: 0 12px !important;
	}
	#boards .column {
		width: auto !important;
		margin: 0px 5px 0px 5px !important;
	}
}
@-moz-document url('http://www.4chan.org/banned'), url('https://www.4chan.org/banned') {
	b { font-weight: 800 !important; }
	img { display: block !important; }
	#ft ul { text-align: center !important; }
	#ft li {
		float: none !important;
		display: inline-block !important;
	}
}
@-moz-document domain('images.4chan.org') {
	img { image-rendering: optimizeQuality !important; }
}
@-moz-document domain('status.4chan.org') {
	#boardNavDesktop { position: static !important; }
}
@-moz-document url('http://www.4chan.org/'),
url('http://www.4chan.org/#'),
url('http://www.4chan.org'),
url('https://www.4chan.org/'),
url('https://www.4chan.org/#'),
url('https://www.4chan.org') {
	.yui-g { display: none !important; }
	.globalMessage, h2, h3, h1 {
		display: block !important;
		position: static !important;
	}
}
@-moz-document url-prefix('http://boards.4chan.org/f/'),
url-prefix('https://boards.4chan.org/f/') {
	#delform center { position: static !important; }
	#delform table { table-layout: auto !important; }
	#postForm .field[name='sub'] { width: 198px !important; }
	tr, .highlightPost { background-color: transparent !important; }
	.flashListing { margin-top: 50px !important; }
}
@-moz-document domain('sys.4chan.org') {
	table[style="text-align:center;width:100%;height:300px;"] {
		display: table !important;
		position: relative !important;
		right: 100px !important;
	}
}
@-moz-document domain('dis.4chan.org') {
	.border, .hborder {
		background-color: transparent !important;
		border: 1px solid transparent !important;
	}
	.thread {
		border-top: 1px solid transparent !important;
		border-right: 1px solid transparent !important;
		border-left: 1px solid transparent !important;
		padding-bottom: 35px !important;
	}
}
